<div class="users form">
<?php echo $this->Form->create('User', array('class'=>'form-register')); ?>
    <div class="registerbox">
    <fieldset>
        <legend><?php echo __('Register Account'); ?></legend>
    <?php
        echo $this->Form->input('username');
        echo $this->Form->input('password');
        echo $this->Form->input('password_repeat',array('type'=>'password'));
        echo $this->Form->input('avart_id');
        echo $this->Form->input('phone');
        echo $this->Form->input('address');
    ?>
    </fieldset>
    </div>
<?php echo $this->Form->end(__('Register')); ?>
</div>
